{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class="layui-this">游戏配置</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/setting/update')}" method="post">
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">赔率（大）</label>
                            <div class="layui-input-inline" style="width: 30px;">
                                <input type="text" readonly value="1" placeholder="" autocomplete="off"
                                       class="layui-input">
                            </div>
                            <div class="layui-form-mid">:</div>
                            <div class="layui-input-inline" style="width: 100px;">
                                <input type="text" name="da_rate" placeholder="" autocomplete="off"
                                       value="{$setting.da_rate}" class="layui-input">
                            </div>
                            <div class="layui-form-mid layui-word-aux">赔付比例</div>
                        </div>

                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">赔率（小）</label>
                            <div class="layui-input-inline" style="width: 30px;">
                                <input type="text" readonly value="1" placeholder="" autocomplete="off"
                                       class="layui-input">
                            </div>
                            <div class="layui-form-mid">:</div>
                            <div class="layui-input-inline" style="width: 100px;">
                                <input type="text" name="xiao_rate" placeholder="" autocomplete="off"
                                       value="{$setting.xiao_rate}" class="layui-input">
                            </div>
                            <div class="layui-form-mid layui-word-aux">赔付比例</div>
                        </div>

                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">赔率（双）</label>
                            <div class="layui-input-inline" style="width: 30px;">
                                <input type="text" readonly value="1" placeholder="" autocomplete="off"
                                       class="layui-input">
                            </div>
                            <div class="layui-form-mid">:</div>
                            <div class="layui-input-inline" style="width: 100px;">
                                <input type="text" name="shuang_rate" placeholder="" autocomplete="off"
                                       value="{$setting.shuang_rate}" class="layui-input">
                            </div>
                            <div class="layui-form-mid layui-word-aux">赔付比例</div>
                        </div>

                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">赔率（单）</label>
                            <div class="layui-input-inline" style="width: 30px;">
                                <input type="text" readonly value="1" placeholder="" autocomplete="off"
                                       class="layui-input">
                            </div>
                            <div class="layui-form-mid">:</div>
                            <div class="layui-input-inline" style="width: 100px;">
                                <input type="text" name="dan_rate" placeholder="" autocomplete="off"
                                       value="{$setting.dan_rate}" class="layui-input">
                            </div>
                            <div class="layui-form-mid layui-word-aux">赔付比例</div>
                        </div>

                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">赔率
                            (二星定位)</label>
                            <div class="layui-input-inline" style="width: 30px;">
                                <input type="text" readonly value="1" placeholder="" autocomplete="off"
                                       class="layui-input">
                            </div>
                            <div class="layui-form-mid">:</div>
                            <div class="layui-input-inline" style="width: 100px;">
                                <input type="text" name="two_star_rate" placeholder="" autocomplete="off"
                                       value="{$setting.two_star_rate}" class="layui-input">
                            </div>
                            <div class="layui-form-mid layui-word-aux">赔付比例</div>
                        </div>

                    </div>
                    <hr>
                    <div class="layui-form-item">
                        <label class="layui-form-label">返点比例</label>
                        <div class="layui-input-block" style="width: 300px;">
                            <input type="text" name="return_rate" value="{$setting.return_rate}" required lay-verify="required" placeholder="请输入房间名称" class="layui-input">
                            <div class="layui-form-mid layui-word-aux">单位：%，输入 1 则 返点比例为0.01</div>
                        </div>



                    </div>


                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="*">提交</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                            <button type="button" onclick="return false;" class="layui-btn layui-btn-warm ajax-delete" href="{:url('admin/setting/refresh')}" data-msg="刷新缓存">刷新缓存</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}